#ifndef TOURNAMENT_ENV_HPP
#define TOURNAMENT_ENV_HPP

#include "Environment.hpp"

/*!
 * \brief Class for evolutionary optimisation using tournament selection
 */
class TournamentEnv: public Environment
{
  bool _returning;
  unsigned _groupSize;
  void selection();
public:
  TournamentEnv():_returning(true),_groupSize(1){};
  void setIfReturning(const bool &returning);
  bool getIfReturning()const;
  void setGroupSize(const unsigned &size);
};

#endif
